#include "realdivide.h"

RealDivide::RealDivide() {

}

RealDivide::~RealDivide() {
}

char RealDivide::getSign() {
    return '/';
}

void RealDivide::evaluateMe(LinkedList<double>& evaluationStack, const double* positionArray) {
    assert(evaluationStack.getSize()>1);
    evaluationStack.getSecondLastElement()/=evaluationStack.getElementAtEnd();
    delete &evaluationStack.pop();
}
